<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.springframework.ui.ModelMap" import="java.util.*,com.device.operating.entity.*"
    pageEncoding="UTF-8"%>
    <%
    List<Dajuxiang> ld=(List<Dajuxiang>)request.getAttribute("dajuxiang");
	Jifang jf=null;
	if(request.getAttribute("jifang")!=null)
		jf=(Jifang)request.getAttribute("jifang");
    %>
 
	<td>汇接：</td>
	<td>
	<select id="dajuxiang" style="width:98%;height:98%" data-fieldId="dajuxiang"  name="dajuxiang">
	<option value="">请选择</option>
	<%for(Dajuxiang djx:ld){%>				       		
	<option value="<%=djx.getDjxId()%>" <%if(jf!=null&&jf.getDjxId().equals(djx.getDjxId())){%>selected ="selected"<%}%>><%=djx.getDjxname()%></option>	
	<%}%>
	</select>
	</td>
	<td>设备局向：</td>
	<td><select id="juxiang" style="width:98%;height:98%" data-fieldId="juxiang" name="juxiang" <%if(jf==null){%>disabled=true<%}%>>
	<option value="">请选择</option>
	<%if(jf!=null){%>
		<option value="<%=jf.getJxId()%>"selected ="selected"><%=jf.getJxname()%></option>
	<%}%>
	</select></td>
	<td>设备机房：</td>
	<td>
	<select id="jifang" style="width:98%;height:98%" data-fieldId="jifang" name="jifang" <%if(jf==null){%>disabled=true<%}%>>
	<option value="">请选择</option>
	<%if(jf!=null){%>
	<option value="<%=jf.getJfId()%>"selected ="selected"><%=jf.getJfname()%></option>
	<%}%>
	</select>
	</td>